package org.example.service;

import org.example.entity.SysMenuByName;
import org.example.mapper.ShowMenuMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ShowMenuService {
    @Resource
    private ShowMenuMapper showMenuMapper;

    public SysMenuByName sysMenuByName(Integer id){
       return showMenuMapper.getMenu(id);
    }
}
